package CanvaWeb.CanvaWeb.Repository;

import CanvaWeb.CanvaWeb.pojo.Drawing;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrawingRepository extends JpaRepository<Drawing, Long> {
    List<Drawing> findByRoomId(Long roomId);
}
